package net.suncaper.psychological.model.domain;

import com.alibaba.fastjson.annotation.JSONField;
import java.time.LocalDateTime;

public class CaseReport {
    private Long id;
    @JSONField(name = "appointment_id")
    private Long appointmentId;
    @JSONField(name = "student_id")
    private Long studentId;
    private String name;
    private String gender;
    private String department;
    private String phone;
    @JSONField(name = "problem_type")
    private String problemType;
    @JSONField(name = "total_sessions")
    private Integer totalSessions;
    @JSONField(name = "self_evaluation")
    private String selfEvaluation;
    @JSONField(name = "created_at")
    private LocalDateTime createdAt;

    // 构造函数
    public CaseReport() {}

    public CaseReport(Long appointmentId, Long studentId, String name, String gender, 
                     String department, String phone, String problemType, 
                     Integer totalSessions, String selfEvaluation) {
        this.appointmentId = appointmentId;
        this.studentId = studentId;
        this.name = name;
        this.gender = gender;
        this.department = department;
        this.phone = phone;
        this.problemType = problemType;
        this.totalSessions = totalSessions;
        this.selfEvaluation = selfEvaluation;
    }

    // Getter和Setter方法
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAppointmentId() {
        return appointmentId;
    }

    public void setAppointmentId(Long appointmentId) {
        this.appointmentId = appointmentId;
    }

    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getProblemType() {
        return problemType;
    }

    public void setProblemType(String problemType) {
        this.problemType = problemType;
    }

    public Integer getTotalSessions() {
        return totalSessions;
    }

    public void setTotalSessions(Integer totalSessions) {
        this.totalSessions = totalSessions;
    }

    public String getSelfEvaluation() {
        return selfEvaluation;
    }

    public void setSelfEvaluation(String selfEvaluation) {
        this.selfEvaluation = selfEvaluation;
    }

    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }

    @Override
    public String toString() {
        return "CaseReport{" +
                "id=" + id +
                ", appointmentId=" + appointmentId +
                ", studentId=" + studentId +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", department='" + department + '\'' +
                ", phone='" + phone + '\'' +
                ", problemType='" + problemType + '\'' +
                ", totalSessions=" + totalSessions +
                ", selfEvaluation='" + selfEvaluation + '\'' +
                ", createdAt=" + createdAt +
                '}';
    }
} 